/**
 * 
 */
package test.gm.midi

import junit.framework.TestCase
import org.juiceshop.gm.midi.Instrument

/**
 * @author JSTAUDEMEYER
 *
 */
public class InstrumentTest extends TestCase{
	
	void testOne() {
				
		assertEquals 0, Instrument.PIANO.ordinal()
		
		assertEquals Instrument.PIANO, Instrument.valueOf(0)
		
		assertEquals Instrument.PIANO, Instrument.fromString('PIANO')
		
		assertEquals 127, Instrument.GUNSHOT.ordinal()
		
	}
	
}
